home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Static Menus
- Sent: 7/10/96 3:10 PM
- Received: 7/10/96 3:21 PM
- From: Troy Gaul, tgaul@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >>Is there any way to "lock down" the root part's menus in such a way that
- >>the "active" part's menus are either not shown or appended to the root
- >>part's menus.
- >>
- >>Or ... What is the best way to create a part that cannot be activated by
- >>the user (like simple control parts).
- >
- >In theory, the root part itself can install its menu bar as the base menu
- >bar, but that's not something that can be done without the cooperation of
- >the root part.
-
- Note that if you install your menus in the base menubar, they will show up
- for other documents that are opened into the same OpenDoc process. In
- particular, Cyberdog opens multiple documents into a single process.
-
- [from the beginning of the message:]
- >>Is there any way to "lock down" the root part's menus in such a way that
- >>the "active" part's menus are either not shown...
-
- As a container, if you want to not allow another part to show its menus
- (however unfriendly that may be...), you can refuse to relinquish the menu
- focus when asked. Again, this would probably mean overriding certain
- default ODF behavior. This might also keep some parts (which want all of
- their UI focus set) from activating.
-
- _troy
-
- ......................................................................
- Troy Gaul tgaul@apple.com
- Apple Computer, Inc. OpenDoc Parts
-
-
-